package trunk.backend;

import java.util.ArrayList;

public class Tester {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ArrayList<String> labels = new ArrayList<String>();
		ArrayList<String> values = new ArrayList<String>();
		Page page = new Page();
		
		page.addLabel("A label with no break!    :   ", false);
		page.addLabel("A label with a break!", true);
		page.addLineBreak();
		page.addLabel("A label after the break!", true);
		page.addLineBreak();
		page.addLabel("Type Stuff: ", false);
		page.addTextBox(null, "discontex");
		page.addTextBox("nolabtex");
		page.addTextBox("Connected label", "conlabtex");
		
		labels.add("woo");
		labels.add("boo");
		values.add("woosel");
		values.add("boosel");
		page.addRadioButton("radiowooboo", labels, values, true);
		page.addLineBreak();
		page.addCheckBoxes("checkwooboo", labels, values, true);
		page.addLineBreak();
		page.addRadioButton("radiowooboohoriz", labels, values, false);
		page.addLineBreak();
		page.addCheckBoxes("checkwooboohoriz", labels, values, false);
		page.addLineBreak();
		page.addLabel("Woo!", false);
		page.addLabel("Boo!", false);
				
		page.writeHTML("test.html", "");
	}

}
